package com.GlobalPaint.app.ui.HTML;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.ImageView;

import com.GlobalPaint.app.R;
import com.GlobalPaint.app.ui.App;
import com.squareup.picasso.MemoryPolicy;
import com.squareup.picasso.NetworkPolicy;
import com.squareup.picasso.Picasso;

public class tupianxqActivity extends AppCompatActivity {

    private ImageView im_tupian;
    private String uri;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_tupianxq);
        im_tupian = (ImageView) findViewById(R.id.im_tupian);
        uri=getIntent().getStringExtra("uri");
        Picasso.with(App.context).load(uri)
                .memoryPolicy(MemoryPolicy.NO_CACHE)
                .networkPolicy(NetworkPolicy.NO_CACHE)
                .into(im_tupian);
    }
}
